nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound

AI-powered interview preparation platform. Practice with curated questions, mock interviews, and personalized learning paths to crack your dream tech interview.

Quick Links

  • Technologies
  • Saved Questions
  • Pricing

Company

  • About Us
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Use

© 2026 nextRound. All rights reserved.

TOPIC OVERVIEW

react/React APIs

The core building blocks React exposes beyond components and hooks.

10 QuestionsAdvancedMedium Priority ~11 min read

React.memo skips re-rendering a component if its props are shallow-equal to the previous render's — the function-component equivalent of PureComponent. Suspense lets part of a component tree 'wait' for something (most commonly lazily-loaded code, or data via the right integration) and show a fallback while it's not ready, and React.lazy pairs with it to code-split a component so its code only loads once it's actually about to render.

forwardRef lets a component explicitly accept a ref and forward it to a child DOM node or component, since refs aren't passed like normal props by default. Fragment lets you group multiple children without introducing an extra wrapper node into the actual DOM. cloneElement and the Children utilities let you inspect or transform the children passed into a component, though they're reached for far less often now that hooks and composition patterns cover most of the same problems more predictably.

What you'll walk away knowing

What React.memo actually compares, and when a custom comparison function is needed instead
How Suspense and React.lazy work together for code-splitting
What forwardRef solves, and how it differs from just passing a ref as a normal prop
What Fragment and cloneElement are for, and why they're used less often since hooks arrived

No questions match "".

All Topics
1
Basics
JSX
State and Props
Components
Function Components
2
Virtual DOM
Reconciliation
Class Components
Lifecycle functions
3
Hooks
useState
useReducer
useMemo
useContext
useCallback
useEffect
Custom Hooks
New Hooks
4
Code Sharing
HOC
Refs
Data Sharing
Events
Context API
5
Redux
Router
CSR-SSR
React APIs
ReactDOM
Strict Mode
6
Performance Optimisation
Security
Sharethis topic

Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.